-- premake file by sytz

workspace "DM"
	architecture "x64"
	startproject "SandboxApp"

	configurations
	{
		"Debug",
		"Release"
	}

	flags
	{
		"MultiProcessorCompile"
	}

-- set ouput dir format
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
-- Include directories relative to root folder (solution directory)
IncludeDir = {}

IncludeDir["GLFW"] =  "%{wks.location}/DM/vendor/glfw/include"
IncludeDir["GLAD"] =  "%{wks.location}/DM/vendor/glad/include"
IncludeDir["IMGUI"] = "%{wks.location}/DM/vendor/imgui"
IncludeDir["SDL2"] =  "%{wks.location}/DM/vendor/SDL2/include"
IncludeDir["STATIC_INCLUDE"] = "%{wks.location}/DM/vendor/include"

group "Dependencies"
	include "DM/vendor/Glad"
	include "DM/vendor/GLFW"
	include "DM/vendor/imgui"
group ""

include "DM"
include "SandboxApp"